/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package org.beiyou;

/**
 * <p>Project: jse2204 - Singleton
 * <p>Powered by webrx On 2022-09-08 17:47:32
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Singleton {
    public static Singleton s;

    private Singleton() {
    }

    public static Singleton getInstance() {
        if (s == null) {
            s = new Singleton();
        }
        return s;
    }
}
